package com.upic.service;

import com.upic.po.jurisdiction.Jurisdiction;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

import java.util.List;

/**
 * Created by zhubuqing on 2018/2/7.
 */
public interface JurisdictionService {
    Jurisdiction saveJurisdiction(Jurisdiction jurisdiction);

    String deleteJurisdiction(long jurisdictionId);

    Page<Jurisdiction> searchJurisdiction(Pageable pageable);

    List<Jurisdiction> searchJurisdiction();

    Jurisdiction findOne(long jurisdictionId);

    Jurisdiction updateJurisdiction(Jurisdiction jurisdiction);
}
